package com.firewolf.oa.service;

import com.firewolf.oa.base.BaseService;
import com.firewolf.oa.entities.User;

/**
 * 用户Service
 * @author liuxing
 *
 */
public interface UserService extends BaseService<User> {

	/**
	 * 重置密码
	 */
	void resetPassword(Long id);

	/**
	 * 根据账号密码查询用户
	 * @param name
	 * @param password
	 * @return
	 */
	User findUserByNameAndPwd(String name, String password);

}
